﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI.WebControls;

/// <summary>
/// Summary description for DropDownUtils
/// </summary>
public class DropDownUtils
{

    public static DropDownList addDefaultLabel(DropDownList dropDownList, String label)
    {
        
        ListItem item = new ListItem();
        item.Text = label;
        item.Value = null;

        dropDownList.Items.Insert(0, item);
        return dropDownList;
    }
}
